﻿<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
	<!-- Resource dictionary entries should be defined here. -->




<Color x:Key="Color1">#FFFFFFFF</Color> <!-- white: app title -->
<Color x:Key="Color1a">#33FFFFFF</Color> <!-- 20% of Color1 white -->
<Color x:Key="Color1b">#66FFFFFF</Color> <!-- 40% of Color1 white -->
<Color x:Key="Color1c">#99FFFFFF</Color> <!-- 60% of Color1 white -->
<Color x:Key="Color1d">#ccFFFFFF</Color> <!-- 80% of Color1 white -->

<Color x:Key="Color2">#FF000000</Color> <!-- black: column heads, totals, text heads -->
<Color x:Key="Color2a">#33000000</Color> <!-- 20% of Color2 black, wide border around content parts  -->
<Color x:Key="Color2b">#66000000</Color> <!-- 40% of Color2 black, Main nav bar Background  -->
<Color x:Key="Color2c">#99000000</Color> <!-- 60% of Color2 black, Main nav bar Background  -->
<Color x:Key="Color2d">#cc000000</Color> <!-- 80% of Color2 black, Main nav bar Background  -->

<Color x:Key="Color3">#FF495e69</Color> <!-- Dark Gray: tablehead text -->

<Color x:Key="Color5b">#FFdcfff2</Color> <!-- barely green: button top color, primary navbar links -->
<Color x:Key="Color5a">#33dcfff2</Color> <!-- 20% of Color5: used as glow on main nav links -->




<Color x:Key="Color7">#FF2878b5</Color> <!-- dark blue: link color -->
<Color x:Key="Color8">#FFFFE400</Color> <!-- orange: link-over, -->
<Color x:Key="Color8a">#33FFE400</Color> <!-- 20% of Color8:, -->

<Color x:Key="Color9">#FFF3F7A0</Color> <!-- Light yellow: link-over, -->
<Color x:Key="Color9a">#33F3F7A0</Color> <!-- 20% Color9: link-over glow for main nav link, -->

<Color x:Key="Color4">#FFddfcf9</Color> <!-- top color  button over,  -->
<Color x:Key="Color5">#FFbaf9f2</Color> <!-- bottom color button over -->
<Color x:Key="Color6">#FF94e3d7</Color> <!-- border color button over,  primary nav link color-->

<Color x:Key="Color11">#FF333333</Color> <!-- top color button,  -->
<Color x:Key="Color12">#FF000000</Color> <!-- bottom color button, -->
<Color x:Key="Color13">#FF000000</Color> <!-- border color button,  -->
<Color x:Key="Color14">#FFF3F7A0</Color> <!-- text color button,  -->


<ImageBrush x:Key="BG_green" ImageSource="../images/BG_green.png"/>
<ImageBrush x:Key="BG_blue" ImageSource="../images/BG_blue.png"/>
<ImageBrush x:Key="BG_bronze" ImageSource="../images/BG_bronze.png"/>

<SolidColorBrush x:Key="Color1Brush" Color="{StaticResource Color1}" /> <!-- usage: base color white -->
<SolidColorBrush x:Key="Color1aBrush" Color="{StaticResource Color1a}" /> <!-- usage: the background for the main text parts, set at 80 percent opacity -->
<SolidColorBrush x:Key="Color1bBrush" Color="{StaticResource Color1b}" /> <!-- usage: the background for the main text parts, set at 80 percent opacity -->
<SolidColorBrush x:Key="Color1cBrush" Color="{StaticResource Color1c}" /> <!-- usage: the background for the main text parts, set at 80 percent opacity -->
<SolidColorBrush x:Key="Color1dBrush" Color="{StaticResource Color1d}" /> <!-- usage: the background for the main text parts, set at 80 percent opacity -->

<SolidColorBrush x:Key="Color2Brush" Color="{StaticResource Color2}" /> <!-- usage: base color black -->
<SolidColorBrush x:Key="Color2aBrush" Color="{StaticResource Color2a}" /> <!-- usage: thick content outline, set at 20 percent opacity -->
<SolidColorBrush x:Key="Color2bBrush" Color="{StaticResource Color2b}" /> <!-- usage: thick content outline, set at 40 percent opacity -->
<SolidColorBrush x:Key="Color2cBrush" Color="{StaticResource Color2c}" /> <!-- usage: thick content outline, set at 60 percent opacity -->
<SolidColorBrush x:Key="Color2dBrush" Color="{StaticResource Color2d}" /> <!-- usage: thick content outline, set at 80 percent opacity -->

<SolidColorBrush x:Key="Color3Brush" Color="{StaticResource Color3}" /> <!-- usage: Text for tableheads, -->
<SolidColorBrush x:Key="Color4Brush" Color="{StaticResource Color4}" /> <!-- usage: button outline, -->
<SolidColorBrush x:Key="Color5Brush" Color="{StaticResource Color5}" /> <!-- usage: button border over, -->

<SolidColorBrush x:Key="Color9Brush" Color="{StaticResource Color5}" /> <!-- usage: navlink over, -->

<SolidColorBrush x:Key="LinkColor" Color="{StaticResource Color7}" /> <!-- usage: linkcolor, -->
<SolidColorBrush x:Key="LinkColorOver" Color="{StaticResource Color8}" /> <!-- usage: linkcolor rollover, -->

<SolidColorBrush x:Key="TableTextBrush" Color="#ff666666" /> <!-- usage: regular content in tables -->

<LinearGradientBrush x:Key="TableHeadBGBrush" EndPoint="1,0" StartPoint="0,0">
	<GradientStop Color="{StaticResource Color1a}" Offset="0"/>
	<GradientStop Color="{StaticResource Color1a}" Offset=".2"/>
</LinearGradientBrush>

<LinearGradientBrush x:Key="TableCellBGBrush" EndPoint="1,0" StartPoint="0,0">
	<GradientStop Color="{StaticResource Color1}" Offset="0.9"/>
	<GradientStop Color="{StaticResource Color1}" Offset="1"/>
</LinearGradientBrush>


<LinearGradientBrush x:Key="AppBackground_Olive" EndPoint="0.5,1" StartPoint="0.5,0">
	<GradientStop Color="#FF5A98BC" Offset="0"/>
	<GradientStop Color="#FF387DA5" Offset="0.67"/>
</LinearGradientBrush>
<LinearGradientBrush x:Key="AppBackground_Teal" EndPoint="0.5,1" StartPoint="0.5,0">
	<GradientStop Color="#FFFFFFFF" Offset="0"/>
	<GradientStop Color="#FF92C6B6" Offset="0.67"/>
</LinearGradientBrush>

<!--styles for the header bar and navigation/toolbar row -->
<Style x:Key="TitleBarBG">
	<Setter Property="Grid.Background" Value="#ff000000" />
	</Style>

<Style x:Key="TitleBarText" TargetType="{x:Type TextBlock}">
	<Setter Property="Foreground" Value="{StaticResource Color1Brush}" />
	<Setter Property="FontFamily" Value="Segoe UI" />
	<Setter Property="FontSize" Value="24" />
	<Setter Property="Margin" Value="50,0,0,4" />
	</Style>

<Style x:Key="NavBarBG">
	<Setter Property="Grid.Background" Value="{StaticResource Color2bBrush}" />
	<Setter Property="Border.BorderThickness" Value="0,0,0,1" />
	<Setter Property="Border.BorderBrush" Value="{StaticResource Color2Brush}" />
	</Style>

<Style x:Key="NavBarText" TargetType="{x:Type TextBlock}">
	<Setter Property="FontFamily" Value="Segoe UI" />
        <Setter Property="FontSize" Value="14" />
	<Setter Property="Foreground" Value="{StaticResource Color1Brush}" />
	<Setter Property="Margin" Value="50,0,0,0" />
	<Setter Property="HorizontalAlignment" Value="Right" />
	<Setter Property="VerticalAlignment" Value="Center" />

		</Style>
		
	<Style x:Key="NavBarTextOver" BasedOn="{StaticResource NavBarText}" TargetType="{x:Type TextBlock}" >
		<Setter Property="TextBlock.Foreground" Value="{StaticResource Color9Brush}" />
		<Setter Property="BitmapEffect">
			<Setter.Value>
				<OuterGlowBitmapEffect GlowColor="#33DCFCA2" />
			</Setter.Value>
		</Setter>
		</Style>
		
	<Style x:Key="NavBarTextSelected" BasedOn="{StaticResource NavBarText}" TargetType="{x:Type TextBlock}" >
		<Setter Property="TextBlock.Foreground" Value="{StaticResource Color2Brush}" />
		<Setter Property="TextBlock.FontWeight" Value="Bold" />
	</Style>




<Style x:Key="ExpandoPlus">
	<Setter Property="Canvas.Background" Value="{DynamicResource ExpandoPlusBrush}" />
	<Setter Property="Canvas.Margin" Value="0, 0, 4, 0" />
	<Setter Property="Canvas.Width" Value="12" />
	<Setter Property="Canvas.Height" Value="12" />
	</Style>
<Style x:Key="ExpandoMinus">
	<Setter Property="Canvas.Background" Value="{DynamicResource ExpandoMinusBrush}" />
	<Setter Property="Canvas.Margin" Value="0, 0, 0, 0" />
	<Setter Property="Canvas.Width" Value="12" />
	<Setter Property="Canvas.Height" Value="12" />
	</Style>
<Style x:Key="DropDownArrow">
	<Setter Property="Canvas.Background" Value="{DynamicResource DropDownArrowBrush}" />
	<Setter Property="Canvas.Margin" Value="0, 10, 0, 0" />
	<Setter Property="Canvas.Width" Value="12" />
	<Setter Property="Canvas.Height" Value="12" />
	<Setter Property="Canvas.VerticalAlignment" Value="Top" />
</Style>



<!--styles for the transparent wide border around content parts -->
<Style x:Key="ContainerOutline">
	<Setter Property="Border.Background" Value="{StaticResource Color2aBrush}" />
	<Setter Property="Border.CornerRadius" Value = "12,12,12,12" />
	<Setter Property="Border.BorderThickness" Value="1,1,1,1" />
	<Setter Property="Border.BorderBrush" Value="{StaticResource Color2bBrush}" />
	</Style>
	
<Style x:Key="TableBackground">
	<Setter Property="Border.Background" Value="{DynamicResource Color1Brush}" />
	<Setter Property="Border.VerticalAlignment" Value="Stretch" />
	<Setter Property="Border.HorizontalAlignment" Value="Stretch" />
	</Style>


<Style x:Key="TableHeadBackground">
	<Setter Property="Border.Background" Value="{DynamicResource TableHeadBGBrush}" />
	<Setter Property="Border.VerticalAlignment" Value="Stretch" />
	<Setter Property="Border.HorizontalAlignment" Value="Stretch" />
	</Style>


<Style x:Key="TableCellBackground">
	<Setter Property="Border.Background" Value="{DynamicResource TableCellBGBrush}" />
	<Setter Property="Border.VerticalAlignment" Value="Stretch" />
	<Setter Property="Border.HorizontalAlignment" Value="Stretch" />
	</Style>

    <Style x:Key="TableButtonText">
        <Setter Property="TextBlock.FontFamily" Value="Segoe UI" />
        <Setter Property="TextBlock.FontSize" Value="13" />
        <Setter Property="FrameworkElement.HorizontalAlignment" Value="Left"/>
        <Setter Property="FrameworkElement.VerticalAlignment" Value="Top"/>
        <!--<Setter Property="FrameworkElement.Margin" Value="8,6,8,6"/>-->
        <Setter Property="TextBlock.Foreground" Value="{StaticResource TableTextBrush}"/>
        <Setter Property="TextBlock.TextWrapping" Value="Wrap"/>
    </Style>

    <Style x:Key="TableText">
	<Setter Property="TextBlock.FontFamily" Value="Segoe UI" />
	<Setter Property="TextBlock.FontSize" Value="13" />
	<Setter Property="FrameworkElement.HorizontalAlignment" Value="Left"/>
	<Setter Property="FrameworkElement.VerticalAlignment" Value="Top"/>
	<Setter Property="FrameworkElement.Margin" Value="8,6,8,6"/>
	<Setter Property="TextBlock.Foreground" Value="{StaticResource TableTextBrush}"/>
	<Setter Property="TextBlock.TextWrapping" Value="Wrap"/>
	</Style>

    <Style x:Key="TableText_AlignR" BasedOn="{StaticResource TableText}">
			<Setter Property="FrameworkElement.HorizontalAlignment" Value="Right"/>
			</Style>
		<Style x:Key="TableText_AlignC" BasedOn="{StaticResource TableText}">
			<Setter Property="FrameworkElement.HorizontalAlignment" Value="Center"/>
			</Style>
		
		<Style x:Key="TableColHead" BasedOn="{StaticResource TableText}">
			<Setter Property="TextBlock.Foreground" Value="{StaticResource Color3Brush}"/>
			<Setter Property="FrameworkElement.Margin" Value="8,2,8,2"/>
			<Setter Property="TextBlock.VerticalAlignment" Value="Center" />
			<Setter Property="TextBlock.FontSize" Value="12" />
			<Setter Property="TextBlock.FontWeight" Value="Bold" />
			</Style>
				<Style x:Key="TableColHead_AlignR" BasedOn="{StaticResource TableColHead}">
					<!--<Setter Property="FrameworkElement.HorizontalAlignment" Value="Right"/>-->
					</Style>
				<Style x:Key="TableColHead_AlignC" BasedOn="{StaticResource TableColHead}">
					<Setter Property="FrameworkElement.HorizontalAlignment" Value="Center"/>
					<Setter Property="FrameworkElement.Margin" Value="3,2,3,2"/>
					</Style>
				<Style x:Key="TableTotals" BasedOn="{StaticResource TableText}">
					<Setter Property="TextBlock.FontWeight" Value="Bold" />
					<Setter Property="TextBlock.Foreground" Value="{StaticResource Color2Brush}"/>
				</Style>
				<Style x:Key="TableTotals_AlignR" BasedOn="{StaticResource TableTotals}">
					<Setter Property="FrameworkElement.HorizontalAlignment" Value="Right"/>
					</Style>
				<Style x:Key="TableTotals_AlignC" BasedOn="{StaticResource TableTotals}">
					<Setter Property="FrameworkElement.HorizontalAlignment" Value="Center"/>
					</Style>
		
		


	<Style x:Key="SectionHead1">
		<Setter Property="TextBlock.FontFamily" Value="Segoe" />
		<Setter Property="TextBlock.FontWeight" Value="Medium" />
		<Setter Property="TextBlock.FontSize" Value="18" />
		<Setter Property="FrameworkElement.HorizontalAlignment" Value="Left"/>
		<Setter Property="FrameworkElement.Margin" Value="0,10,0,0"/>
		<Setter Property="TextBlock.Foreground" Value="{StaticResource Color1Brush}"/>

		<Setter Property="TextBlock.TextWrapping" Value="Wrap"/>
	</Style>
	<Style x:Key="SectionHead2">
		<Setter Property="TextBlock.FontFamily" Value="Segoe UI" />
		<Setter Property="TextBlock.FontSize" Value="16" />
		<Setter Property="FrameworkElement.HorizontalAlignment" Value="Left"/>
		<Setter Property="FrameworkElement.Margin" Value="0,0,0,0"/>
		<Setter Property="TextBlock.Foreground" Value="{StaticResource Color1Brush}"/>
		<Setter Property="TextBlock.FontWeight" Value="Bold" />
		<Setter Property="TextBlock.TextWrapping" Value="Wrap"/>
	</Style>
	<Style x:Key="SectionHead3" TargetType="{x:Type TextBlock}">
		<Setter Property="FontFamily" Value="Segoe UI" />
	        <Setter Property="FontSize" Value="14" />
		<Setter Property="Foreground" Value="{StaticResource Color1Brush}" />
		<Setter Property="Margin" Value="0,0,0,0" />
		<Setter Property="HorizontalAlignment" Value="Left" />
		<Setter Property="VerticalAlignment" Value="Center" />
		<Setter Property="TextBlock.FontWeight" Value="Bold" />
	</Style>
	<Style x:Key="fieldLabel">
		<Setter Property="TextBlock.FontFamily" Value="Segoe UI" />
		<Setter Property="TextBlock.FontSize" Value="13" />
		<Setter Property="FrameworkElement.HorizontalAlignment" Value="Left"/>
		<Setter Property="FrameworkElement.VerticalAlignment" Value="Top"/>
		<Setter Property="FrameworkElement.Margin" Value="0,11,0,2"/>
		<Setter Property="TextBlock.Foreground" Value="#FF000000"/>
		<Setter Property="TextBlock.TextWrapping" Value="Wrap"/>
	</Style>
			<Style x:Key="fieldLabelList" BasedOn="{StaticResource fieldLabel}">
				<Setter Property="FrameworkElement.Margin" Value="24,6,0,2"/>
			</Style>
			<Style x:Key="fieldLabel_Left" BasedOn="{StaticResource fieldLabel}">
				<Setter Property="FrameworkElement.Margin" Value="0,12,8,0"/>
			</Style>
			<Style x:Key="fieldLabelList_Field" BasedOn="{StaticResource fieldLabelList}">
				<Setter Property="TextBlock.Foreground" Value="#FF000000"/>
				<Setter Property="FrameworkElement.Margin" Value="0,6,0,2"/>
			</Style>
	



	<Style x:Key="ChartXlabel">
		<Setter Property="TextBlock.FontFamily" Value="Segoe UI" />
		<Setter Property="TextBlock.FontSize" Value="13" />
		<Setter Property="FrameworkElement.HorizontalAlignment" Value="Center"/>
		<Setter Property="FrameworkElement.VerticalAlignment" Value="Top"/>
		<Setter Property="FrameworkElement.Margin" Value="2,2,2,2"/>
		<Setter Property="TextBlock.Foreground" Value="#FF808080"/>
		<Setter Property="TextBlock.TextWrapping" Value="NoWrap"/>
	</Style>
			<Style x:Key="ChartYlabel" BasedOn="{StaticResource ChartXlabel}">
				<Setter Property="FrameworkElement.HorizontalAlignment" Value="Right"/>
				<Setter Property="FrameworkElement.Margin" Value="0,-9,4,0"/>
			</Style>
			<Style x:Key="ChartAnnotation" BasedOn="{StaticResource ChartXlabel}">
				<Setter Property="FrameworkElement.HorizontalAlignment" Value="Left"/>
			</Style>		
	
</ResourceDictionary>

